package tax;

import java.util.Map;
import com.such.kit.easyparam.ParamList;
import com.such.kit.easyparam.ParamMap;
import com.such.kitx.tax.TaxHelper;
import com.such.kitx.tax.TaxInterface;
import com.such.kitx.tax.impl.aisino.AisinoTax;

public class Aisino {

	public static void main(String[] args) throws Exception {
		TaxInterface tax = new AisinoTax("V00010002", "address", "127.0.0.1", "8080");

		tax.printDataTemplate("KJFP", new ParamMap<String, String>().putParam(TaxHelper.DT_PARAM_DATA_NAME, "params"));

		tax.KJFP(new ParamMap<String, Object>()
				.putParam("FPZL", "1")
				.putParam("FPMX", new ParamList<Map<String,Object>>()
						.addParam(new ParamMap<String, Object>().putParam("SPMC", "11"))
						.addParam(new ParamMap<String, Object>().putParam("SPMC", "12"))
						.addParam(new ParamMap<String, Object>().putParam("SPMC", "13"))
				));

	}

}
